from .base import *

__all__ = ['CommentItem']


# 评论
class CommentItem(BaseItem):
    item_type = 'comment'
    praiseNum = scrapy.Field()
    subCommentNum = scrapy.Field()
    uid = scrapy.Field()
    parentId = scrapy.Field()
    parentContent = scrapy.Field()
    parentType = scrapy.Field()
    columnId = scrapy.Field()

    def __init__(self):
        super().__init__()
        self['type'] = 'comment'
